home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15518 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.5 KB

  1. Path: news.nyu.edu!schonberg!dewar
  2. From: dewar@cs.nyu.edu (Robert Dewar)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  4. Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Date: 5 Apr 1996 21:36:56 -0500
  6. Organization: Courant Institute of Mathematical Sciences
  7. Message-ID: <dewar.828757752@schonberg>
  8. References: <JSA.96Feb16135027@organon.com> <emery-0204960656230001@line030.nwm.mindlink.net> <828632277snz@genesis.demon.co.uk> <dewar.828704810@schonberg> <4k3utg$ndp@solutions.solon.com>
  9. NNTP-Posting-Host: schonberg.cs.nyu.edu
  10. X-Newsreader: NN version 6.5.0 (NOV)
  11.  
  12. "You know, POSIX, Spec 1170, X/Open, that kind of stuff.  POSIX is the one the
  13. US govt. will not use Win NT because of, because it doesn't match the spec
  14. they've selected."
  15.  
  16. But none of POSIX, Spec 1170, nor X/Open have official validatoin suites
  17. and testing procedures as far as I know, and certainly very few Unix
  18. implemntations are 100% compliant with POSIX (very few versions of Unix
  19. even claim to support Draft 10 of Posix threads). X/Open is not even
  20. a standard as far as I know.
  21.  
  22. Perhaps you use standard in a lose informal sense.
  23.  
  24. I am quite aware that the behavior of read in Linux is ANSI compliant
  25. (dspite your memory, I never claimed otherwise). I just noted that this
  26. is incompatible with most traditional impleemntations and causes 
  27. portability problems.
  28.  
  29. I find this all quite odd. There is no standard for Unix, so ohw could
  30. there possibly be formal validation procedures. POSIX has nothing to
  31. do with Unix (you can have Unix without POSIX -- there are many examples,
  32. and POSIX without Unix -- e.g. as in NT, despite your claims about NT,
  33. NT is in fact petty well Posix compliant, and will pass the posix test
  34. suite as far as I know [that test suite as far as I know still has not
  35. been adopted as an official test suite by NIST, but perhaps I am out
  36. of date, if so please inform)
  37.  
  38. I actually know ANSI C very well, but I do not find this knowledge
  39. as useful as the Microsoft book on C runtime routines which shows
  40. compatibilities between various systems. There are things in ANSI
  41. which you cannot use safely and portably, and there are things you
  42. can use saetly and portably that are not in ANSI. This will change
  43. over time, but that is my experience to date.
  44.  
  45. Anyway, can someone who really knows the score here tell us:
  46.  
  47. Which of Unix, Posix, Spec 1170, X/Open have approved national and/or
  48. international standards.
  49.  
  50. Of this subset, which have official validation procedure run by NIST
  51. or some other similar body?
  52.  
  53.